// 人员管理
import httpAPI from '../../utils/http.js'
export default {
  /**
   * 查询未入场人员列表
   */
  getPersonalNoEntryList (projectId, data) {
    return httpAPI.get(`system/builder/${projectId}/filing/nonJoinProjectList`, data)
  },
  /**
   * 查询在职人员列表
   */
  getPersonalList (projectId, params) {
    return httpAPI.get(`system/builder/${projectId}/list?status=2`, params)
  },
  /**
   * 查询退场人员列表
   */
  getPersonalExitList (projectId, params) {
    return httpAPI.get(`system/builder/${projectId}/list?status=4`, params)
  },
  /**
   * 新增报备
   */
  addReported(projectId, params) {
    return httpAPI.post(`system/builder/${projectId}/filing/save`, params)
  },
  /**
   * 人员统计
   */
  getPersonStatistics(projectId) {
    return httpAPI.get(`system/builder/${projectId}/builderAppReport`)
  }
}
